#include <cstring>
#include <iostream>

using namespace std;

int main()
{
	//write() accepts a character array.
	const char* test{ "hello there\n" };
	cout.write(test, strlen(test));

	//put() accepts a single character
	cout.put('a');
}
